import request from '@/utils/request'

// 获取说说列表
export function getList(params) {
  return request({
    url: '/blog-core/back/topic/list',
    method: 'get',
    params
  })
}

// 添加或更新说说
export function addOrUpdate(data) {
  return request({
    url: '/blog-core/back/topic/addOrUpdate',
    method: 'post',
    data
  })
}
